<%-- 
    Document   : Register
    Created on : Dec 2, 2012, 12:38:17 PM
    Author     : Gary
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="<c:url value='/css/tablecss.css'/>" rel="stylesheet" type="text/css"/>
        <title>Home</title>
    </head>
    <body class="body">

        <jsp:include page="Header.jsp" />
        <s:form theme="simple">
            <s:actionerror/>
            <div class="maindiv">

                <div>
                    <fieldset class="manfieldset">
                        <legend class="mainLegend">&nbsp;&nbsp;Account&nbsp;&nbsp;</legend>
                        <div class="globalTb">
                            <table>
                                <tr><td colspan="2" style="display: none;"></tr>
                                <tr>
                                    <td class="tdLabel"> User Name: </td>
                                    <td><input type="text" id="user.userName" value="<s:property value="user.userName"/>" size ="40" readonly="isUpdate" name="user.userName"  />
                                        <s:fielderror><s:param>user.userName</s:param></s:fielderror>
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Password : </td>
                                    <td><input type="password" name="password" size="40" maxlength="40"/>
                                        <s:fielderror><s:param>password</s:param></s:fielderror>
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Confirm Password: </td>
                                    <td><input type="password" name="confirmpassword" size="40" maxlength="40"/>
                                        <s:fielderror><s:param>password</s:param></s:fielderror>
                                </tr>

                            </table>
                        </div>
                    </fieldset>
                    
                    <fieldset class="manfieldset">

                        <legend class="mainLegend">&nbsp;&nbsp;Profile&nbsp;&nbsp;</legend>
                        <div class="globalTb">
                            <table>
                                <tr><td colspan="2" style="display: none;"></tr>
                                <tr>
                                    <td class="tdLabel"> Blog: </td>
                                    <td><input type="text" id="profile.blog" value="<s:property value="profile.blog"/>" size ="40" readonly="isUpdate" name="profile.blog" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Website: </td>
                                    <td><input type="text" id="profile.website" value="<s:property value="profile.website"/>" size ="40" readonly="isUpdate" name="profile.website" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Company Name: </td>
                                    <td><input type="text" id="profile.companyName" value="<s:property value="profile.companyName"/>" size ="40" readonly="isUpdate" name="profile.companyName" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Company Address: </td>
                                    <td><input type="text" id="profile.companyAddress" value="<s:property value="profile.companyAddress"/>" size ="40" readonly="isUpdate" name="profile.companyAddress" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Email: </td>
                                    <td><input type="text" id="profile.email" value="<s:property value="profile.email"/>" size ="40" readonly="isUpdate" name="profile.email" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Home Tel: </td>
                                    <td><input type="text" id="profile.homeTel" value="<s:property value="profile.homeTel"/>" size ="40" readonly="isUpdate" name="profile.homeTel" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Mobile: </td>
                                    <td><input type="text" id="profile.mobile" value="<s:property value="profile.mobile"/>" size ="40" readonly="isUpdate" name="profile.mobile" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Address: </td>
                                    <td><input type="text" id="profile.address" value="<s:property value="profile.address"/>" size ="40" readonly="isUpdate" name="profile.address" />
                                </tr>
                                <tr>
                                    <td class="tdLabel"> Postcode: </td>
                                    <td><input type="text" id="profile.postcode" value="<s:property value="profile.postcode"/>" size ="40" readonly="isUpdate" name="profile.postcode" />
                                </tr>
                            </table>
                        </div>
                    </fieldset>
                </div>
            </div>
        </s:form>
        <div class="footerdiv">
            <jsp:include page="Footer.jsp" /></div>
    </body>
</html>
